package test.administrator.example.com.mvptest1;

import android.os.Bundle;
import android.support.annotation.NonNull;

import test.administrator.example.com.mvptest1.framework.support.viewstate.RestorableViewState;
import test.administrator.example.com.mvptest1.login.LoginModel;
import test.administrator.example.com.mvptest1.login.LoginView;

/**
 * Created by thinkpad on 2018/8/9.
 */

public class LoginViewState implements RestorableViewState<LoginView<LoginModel>> {

	@Override
	public void apply(LoginView view, boolean retained) {
		view.onLoginResult("");
	}

	@Override
	public void onSaveInstanceState(@NonNull Bundle outState) {

	}

	@Override
	public RestorableViewState<LoginView<LoginModel>> onRestoreInstanceState(Bundle inState) {
		return null;
	}

}
